#ifndef __OLED_TASK_H__
#define __OLED_TASK_H__
#include "oled.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "esp_log.h"
#include "SNTP_Time.h"

extern EventGroupHandle_t Oled_EventGroupHandle;

#define OLED_WIFI_SUCCEED                           (1<<2)      //WiFi成功事件
#define OLED_WIFI_APP_CONNECT                       (1<<0)      //APP数据传输成功
#define OLED_WIFI_Fail                              (1<<1)      //WiFi失败事件
#define OLED_TIME_SYNCHRONIZATION                   (1<<3)      //时间同步

void OLED_task(void*p);



#endif

